<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<title></title>
		<link rel="stylesheet" href="../css/common/mui.css" />
		<link rel="stylesheet" href="../css/common/common.css" />
		<link rel='stylesheet' href='../css/this/product.css' />
		<link rel="stylesheet" href="../layer/skin/layer.css" />
	</head>
	<body>
		<input type="hidden" id="aa" value="1006" />
		<div class='filter-head theFirst'></div>
		
		<script type='text/template' id='tpl-filter-head'>
			<section class='filter pT5 pB5 bB bGWhite'>
				<div class='lH33'>
					<div class='new dIB pR35 pL35 bR news'>
						<p class='pR21 fS15 cBlack dIB'>新品</p><i></i>
					</div>
					<div class='classify dIB pR35 pL35 bR all'>
						<p class='pR21 fS15 cBlack dIB'>全部</p> <i></i>
					</div>
				</div>
			</section>
			<div class='filter-bg tC pT23 dN'>
				<div class='news dN'>
					<button class='w80 btn btn-black lH45 mB13' data-desc='xinpin_'>新品</button>
					<button class='w80 btn btn-white lH45 mB13'  data-desc='sale'>销量</button>
					<button class='w80 btn btn-white lH45 mB13'  data-desc='price'>价格</button>
					<button class='w80 btn btn-white lH45 mB13' data-desc='cang'>发货仓</button>
					<div class='dN cang mui-row'>
						<div class='mui-col-xs-4 tC' data-stockId='0'>
							<button class='w80 btn btn-black lH45 mB13'>全部仓库</button>
						</div>
						{{each res.stock_list as list2 index}}
						<div class='mui-col-xs-4 tC' data-stockId='{{list2.id}}'>
							<button class='w80 btn  btn-white lH45 mB13'>{{list2.title}}</button>
						</div>
						{{/each}}
					</div>
				</div>
				<div class='all dN'>
					<button class='w80 btn btn-black lH45 mB13' data-classifyId='0'>全部</button>
					<button class='w80 btn btn-white lH45 mB13' data-classifyId='1006'>休闲零食</button>
					<button class='w80 btn btn-white lH45 mB13' data-classifyId='1005'>茶饮酒水</button>
					<button class='w80 btn btn-white lH45 mB13' data-classifyId='1007'>营养保健</button>
					<button class='w80 btn btn-white lH45 mB13' data-classifyId='1009'>母婴健康</button>
				</div>
			</div>
		</script>
		
		<section class='searchR-list'></section>
		
		<script type='text/template' id='tpl-searchR-list'>
			{{/*<!--产品列表-->*/}}
			<section class='product-list'>
				
				{{if res.list.length >0 }}
				<ul class='oF pL3 pR3'>
					{{each res.list as list}}
					<li class='fl w50' data-pid='{{list.pid}}'>
						<div class='content bGWhite oF pL7 pR7' >
							<div class='img-p pT10 oF pSR'  data-id='{{list.id}}'>
								<img src='../img/blank.gif' data-echo="{{list.pic}}" class='w'/>
									{{if list.stock < 1}}
									<div class='sale-out'>
										<div class='text'>已售馨</div>
									</div>
									{{/if}}
							</div>
							<div class='list-detail pL5 '>
								<div class='list-title w'>
									<h2 class='fS14 lH18 limit-text mT14'>{{list.pname}}</h2>	
								</div>
								<div class='detail w'>
									<p class='fl mT20 mB15'><span class='cRed fS15'>&yen;{{list.price}}</span><s class='pL5 cGrey fS12'>&yen;{{list.market_price}}</s></p>
									<div class='list-btn ddn-toCart mT10 mR3 tC bR50 bGBlack fr' data-skuId='{{list.id}}' data-warehousetype='{{list.warehouseType}}' data-supplierId='{{list.supplierId}}' data-stock='{{list.stock}}'>
										<img src="../img/list/cart1.png" class='w70 mT7'/>
									</div>
								</div>
							</div>
						</div>
					</li>
					{{/each}}
				</ul>
				{{else}}
					<div class='tC' style='position:absolute;top:50%;left:15%;height:30%;width:70%;'>
						<span class='cGrey fS15'>亲  这个页面还没有数据哦~</span>
					</div>
				{{/if}}
			</section>
		</script>
			
		

		<script src='../js/common/jquery.min.js'></script>
		<script src="../js/common/template.js"></script>
		<script src='../layer/layer.js'></script>
		<script src='../js/common/api.js'></script>
		<script src='../js/common/loading.js'></script>
		<script src="../js/common/app.js"></script> 
		<script src='../js/common/echo.min.js'></script>
		<script src='../js/common/jquery.fly.min.js'></script>
		<script src='../js/common/header.js'></script>
		<script src='../js/common/footer.js'></script>
		<script src='searchResult.js'></script>

	</body>
</html>
